<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>btcrobot 算法交易智能平台</title>
    <meta name="description" content="btcrobot is a Bitcoin, Litecoin and Altcoin trading bot written in golang,
  it features multiple trading methods using technical analysis."/>

    <meta name="viewport" content="width=1000, initial-scale=1.0, maximum-scale=1.0">

    <!-- Loading Bootstrap -->
    <link href="bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="css/flat-ui.css" rel="stylesheet">
    <link href="css/demo.css" rel="stylesheet">

    <link rel="shortcut icon" href="images/favicon.ico">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
    <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
    <![endif]-->
  </head>
  <body>
    <div class="container">
      <div class="demo-headline">
        <h1 class="demo-logo">
           <small>btcrobot算法交易智能平台</small>
        </h1>
      </div> <!-- /demo-headline -->


      <div class="row demo-row">
        <div class="col-xs-12">
          <nav class="navbar navbar-inverse navbar-embossed" role="navigation">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-01">
                <span class="sr-only">Toggle navigation</span>
              </button>
            </div>
            <div class="collapse navbar-collapse" id="navbar-collapse-01">
              <ul class="nav navbar-nav navbar-left">           
                <li><a href="/">主页<span class="navbar-unread">1</span></a></li>
                <li class="dropdown">
                  <a href="#" class="dropdown-toggle" data-toggle="dropdown">趋势图<b class="caret"></b></a>
                  <span class="dropdown-arrow"></span>
                  <ul class="dropdown-menu">
                    <li><a href="/indictor_huobi.html" rel="nofollow">火币指标</a></li> 
                    <li class="divider"></li>
                    <li><a href="/indictor_okcoin.html" rel="nofollow">OKcoin指标</a></li> 
                  </ul>
                </li>
                    <li><a href="/engine.html" rel="nofollow">机器人</a></li> 
                    <li><a href="/trade.html" rel="nofollow">操盘手</a></li> 
                    <li><a href="/secret.html" rel="nofollow">安全设置</a></li> 
                <li><a href="https://github.com/philsong/btcrobot/wiki" target="_blank">帮助</a></li>
               </ul>
            </div><!-- /.navbar-collapse -->
          </nav><!-- /navbar -->
        </div>
      </div> <!-- /row -->


      <form accept-charset="UTF-8" action="/secret" enctype="multipart/form-data" id="update_conf" method="post">

      <h8>登陆用户名密码，默认：admin/123456</h8>
      <div class="row demo-swatches-row" >
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">用户名</span>
              <input type="text" class="form-control" placeholder="用户名" id="username" name="username"/>             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">密码</span>
              <input type="password" class="form-control" placeholder="密码" id="password" name="password" />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <h8>Bitvc用户名密码</h8>
      <div class="row demo-swatches-row" >
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">用户名</span>
              <input type="text" class="form-control" placeholder="用户名" id="bitvc_email" name="bitvc_email"/>             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">密码</span>
              <input type="password" class="form-control" placeholder="密码" id="bitvc_password" name="bitvc_password" />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <h8>火币 API Key配置</h8>
      <div class="row demo-swatches-row" >
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">火币access_key</span>
              <input type="text" class="form-control" placeholder="火币access_key" id="huobi_access_key" name="huobi_access_key"/>             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">火币secret_key</span>
              <input type="password" class="form-control" placeholder="火币secret_key" id="huobi_secret_key" name="huobi_secret_key" />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <div class="row demo-swatches-row" >
        <div class="col-xs-3">
          OKCoin API Key配置
          <select class="select-block" id="OKCoinAPIkey"  name="OKCoinAPIkey" data-width="auto" onChange="onOKCoinAPIkeyUI();">
            <option value="single">单一模式</option>
            <option value="cluster">集群模式</option>
          </select>
        </div>
      </div> <!-- /row -->

      <div class="row demo-swatches-row" id="divokcoinsingle">
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">OKcoin partner</span>
              <input type="text" class="form-control" placeholder="OKcoin partner" id="ok_partner" name="ok_partner" />             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">OKcoin secret_key</span>
              <input type="password" class="form-control" placeholder="OKcoin secret_key" id="ok_secret_key" name="ok_secret_key"  />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <div id="divokcoincluster" style="display: none" >
        <h8>OKCoin API Key配置1</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner1" id="ok_partner1" name="ok_partner1" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key1" id="ok_secret_key1" name="ok_secret_key1"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置2</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner2" id="ok_partner2" name="ok_partner2" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key2" id="ok_secret_key2" name="ok_secret_key2"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置3</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner3" id="ok_partner3" name="ok_partner3" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key3" id="ok_secret_key3" name="ok_secret_key3"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置4</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner4" id="ok_partner4" name="ok_partner4" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key4" id="ok_secret_key4" name="ok_secret_key4"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置5</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner5" id="ok_partner5" name="ok_partner5" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key5" id="ok_secret_key5" name="ok_secret_key5"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置6</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner6" id="ok_partner6" name="ok_partner6" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key6" id="ok_secret_key6" name="ok_secret_key6"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置7</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner7" id="ok_partner7" name="ok_partner7" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key7" id="ok_secret_key7" name="ok_secret_key7"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置8</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner8" id="ok_partner8" name="ok_partner8" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key8" id="ok_secret_key8" name="ok_secret_key8"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置9</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner9" id="ok_partner9" name="ok_partner9" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key9" id="ok_secret_key9" name="ok_secret_key9"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

        <h8>OKCoin API Key配置10</h8>
        <div class="row demo-swatches-row" >
          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin partner</span>
                <input type="text" class="form-control" placeholder="OKcoin partner10" id="ok_partner10" name="ok_partner10" />             
              </div>  
            </div>
          </div>

          <div class="col-xs-6">
            <div class="form-group">
              <div class="input-group">
                <span class="input-group-addon">OKcoin secret_key</span>
                <input type="password" class="form-control" placeholder="OKcoin secret_key10" id="ok_secret_key10" name="ok_secret_key10"  />
              </div>  
            </div>
          </div>
        </div> <!-- /row -->

      </div>
      <h8>若要发送告警邮件，请设置如下参数</h8>
      <div class="row demo-swatches-row" >
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">smtp_username</span>
              <input type="text" class="form-control" placeholder="smtp_username" id="smtp_username" name="smtp_username" />             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">smtp_password</span>
              <input type="password" class="form-control" placeholder="smtp_password" id="smtp_password" name="smtp_password"  />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <div class="row demo-swatches-row" >
        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">smtp_host</span>
              <input type="text" class="form-control" placeholder="smtp_host" id="smtp_host" name="smtp_host" />             
            </div>  
          </div>
        </div>

        <div class="col-xs-6">
          <div class="form-group">
            <div class="input-group">
              <span class="input-group-addon">smtp_addr</span>
              <input type="text" class="form-control" placeholder="smtp_addr" id="smtp_addr" name="smtp_addr"  />
            </div>  
          </div>
        </div>
      </div> <!-- /row -->

      <div class="row demo-swatches-row" >
        <div class="col-xs-1">
          <input class="btn btn-primary" data-disable-with="正在保存" name="commit" type="submit" value="保存配置"/>
         </div>
      </div>

    </div> <!-- /container -->

    <footer>
      <div class="container">
        <div class="row">
          <div class="col-xs-6">
            <h3 class="footer-title">BTC/LTC自动化算法交易引擎.</h3>
            <p>
              <a href="https://github.com/philsong/btcrobot" target="_blank"> 代码库https://github.com/philsong/btcrobot</a>
            </p>

            <p>
              <a href="http://weibo.com/bocaicfa" target="_blank">微博http://weibo.com/bocaicfa</a>
            </p>
            
            <P>交易策略模型群：375145175</p>
            <p>机器人使用互助群：124603104</P>
          </div> <!-- /col-xs-7 -->

          <div class="col-xs-6">
            <div class="footer-banner">
              <h3 class="footer-title">捐助开发</h3>
              <ul>
                <li>感谢您对开源的支持</li>

                <li>BTC： 1NDnnWCUu926z4wxA3sNBGYWNQD3mKyes8</li>
                <li>LTC： LXwX5XeZeVfXM2b4GRs6HM1mNn4K9En3F4</li>
                <li>Doge：DNp3z6yf2bvKPYfU2bN1SpGXPXGFFM9A43</li>

                <li><a href="https://github.com/philsong/btcrobot/wiki/%E6%84%9F%E8%B0%A2%E6%8D%90%E5%8A%A9%E5%BC%80%E5%8F%91%E7%9A%84%E4%BA%BA" target="_blank">捐助人员列表</a></li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </footer>
    
    <!-- Load JS here for greater good =============================-->
  

    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="js/jquery.ui.touch-punch.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootstrap-select.js"></script>
    <script src="js/bootstrap-switch.js"></script>
    <script src="js/flatui-checkbox.js"></script>
    <script src="js/flatui-radio.js"></script>
    <script src="js/jquery.tagsinput.js"></script>
    <script src="js/jquery.placeholder.js"></script>
    <script src="js/jquery.stacktable.js"></script>
    <script src="js/secret.js"></script>
    <script src="js/application.js"></script>
  </body>
</html>
